/******
 * Javascript library for irods performance monitoring services
 *
 * Author: Mike Conway - RENCI (www.renci.org)
 * Date: 07/22/2009
 */


function initPerformance() {
  $(document).ready(function() {
    $.get("irods.xml?_uri=//irods/get_irods_users_list", function(data) {
      var serviceData = data.substring((data.indexOf("##START##") + 9), data.indexOf("##END##"));
      var irodsUsers = serviceData.split("|");
      $("#irodsUser").autocomplete(irodsUsers).focus();
    }, "text");
    $("#startDate").datepicker();
    $("#endDate").datepicker();
  });
}



function getPerformanceData() {
	// TODO: access performance data
}
